import { OptionProps } from "@ugeez/frontend-commons/lib/types";

export const UPLOAD_FILE_SIZE_LIMIT = 300;  //MB

export const DEFAULT_OFFICE_UPLOAD_ACCEPT = '.xls,.xlsx,.doc,.docx,.pdf,.ppt,.pptx,.txt';

export const DEFAULT_IMAGE_UPLOAD_ACCEPT = '.jpg,.bmp,.jpeg,.png,.gif';

export const DEFAULT_VIDEO_UPLOAD_ACCEPT = '.mp4,.flv,.wmv,.mkv,.rmvb,.avi';

export const DEFAULT_AUDIO_UPLOAD_ACCEPT = '.mp3,.ogg,.wma';

export const DEFAULT_UPLOAD_ACCEPT = [ DEFAULT_OFFICE_UPLOAD_ACCEPT, DEFAULT_IMAGE_UPLOAD_ACCEPT, DEFAULT_VIDEO_UPLOAD_ACCEPT, DEFAULT_AUDIO_UPLOAD_ACCEPT ].join(',');

export const localeOptions: OptionProps[] = [
    { label: '简体中文', value: 'zh_CN', src: { short: 'CN' } },
    { label: 'English', value: 'en_US', src: { short: 'EN' } }
];